<style type="text/css">
    *html .rsmcnt_rlrw ul li pre{
        width: 250px;
        overflow: hidden;
        word-wrap: normal;
        float: none;
        margin-left: 100px;
    }
    li a span.dl_grey3{ 
        font-size: 14px;
    }
    .s_info{
        padding-top: 22px;
    }
</style> 

<div>
    <div class="dl_bacwrap" > 
        <div class="mainwrap"> 
            <h3 class="dl_bigtit"><span class="dl_postit">智联招聘</span> <span class="dl_padl10">填写注册信息，立即成为智联企业会员</span></h3> 
            <div class="litwrap s_info">
                <?php
                    use yii\helpers\Html;
                    use yii\widgets\ActiveForm;
                    // use yii\jui\DatePicker;
                    use frontend\models\Region;
                ?>
                <?php $form = ActiveForm::begin() ?>
                <div class="dl_greyline_bg"> 
                    <span class="dl_menutit">单位信息</span> 
                </div><br><br>

                <?= $form->field($model, 'company')->label('单位名称') ?>

               <?php $url=\yii\helpers\Url::toRoute(['get-region']); ?> 
                <?= $form->field($model, 'province')->label('单位地址')->widget(\chenkby\region\Region::className(),[
                    'model'=>$model,
                    'url'=>$url,
                    'province'=>[
                        'attribute'=>'province',
                        'items'=>Region::getRegion(),
                        'options'=>['class'=>'form-control form-control-inline','prompt'=>'选择省份']
                    ],
                    'city'=>[
                        'attribute'=>'city',
                        'items'=>Region::getRegion($model['province']),
                        'options'=>['class'=>'form-control form-control-inline','prompt'=>'选择城市']
                    ],
                    'district'=>[
                        'attribute'=>'district',
                        'items'=>Region::getRegion($model['city']),
                        'options'=>['class'=>'form-control form-control-inline','prompt'=>'选择县/区']
                    ]
                ]);
                ?>




                <?= $form->field($model, 'contactor')->label('联系人') ?>

                <?= $form->field($model, 'sex')->label('性别')->radioList(['m' => '先生', 'w' => '女士']) ?>
                
                <?= $form->field($model, 'telephone')->label('联系电话') ?>

                <?= $form->field($model, 'landline')->label('固定电话') ?>

                <div class="dl_greyline_bg"> 
                    <span class="dl_menutit">账户信息</span> 
                </div><br><br>
                
                <?= $form->field($model, 'username')->label('用户名') ?>

                <?= $form->field($model, 'email')->label('电子邮箱') ?>

                <?= $form->field($model, 'password')->label('密码')->passwordInput() ?>

                <?= $form->field($model, 'repassword')->label('确认密码')->passwordInput() ?>
                

                <div class="dl_educationwrap"> 
                    <div class="dl_bd_btm"></div> 
                    <div class="dl_cen_txt dl_htline32 dl_padt15"> 
                        <div class="form-group">
                            <?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
                        </div>
                    </div>

                </div>
                <?php ActiveForm::end(); ?>
            </div> 

        </div> 
    </div> 
</div> 
